package com.pg.service.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pg.entity.kgg.EipStaticContact;
import com.pg.mapper.EipStaticContactMapper;
import com.pg.service.EipStaticContactService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 静触头 服务类
 * </p>
 *
 * @author likl
 * @since 2020-10-26
 */
@Service
@DS("proxyDs")
@Primary
public class EipStaticContactServiceImpl extends ServiceImpl<EipStaticContactMapper, EipStaticContact> implements EipStaticContactService {

    @Autowired
    private EipStaticContactMapper eipStaticContactMapper;

    @Override
    public void saveOne(EipStaticContact eipStaticContact) {
        eipStaticContactMapper.insert(eipStaticContact);
    }
}
